package com.sunline.poc.oozie.service.impl;

import com.sunline.poc.oozie.dao.UserDao;
import com.sunline.poc.oozie.service.UserService;
import com.sunline.poc.oozie.vo.UserInfoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public UserInfoVO findUserByUsername(String userName, String passWord) {
        return userDao.findUserByUsername(userName,passWord);
    }
}
